<?php
	require_once("php/connection.php");
	echo '<strong>Recent Circles</strong><br><span class="small-font" style="color:#555">Showing all the recent public and protected circles.</span><br><br>';
	$res = mysql_query("SELECT * FROM site_groups WHERE (`visibility`='public' OR `visibility`='protected') AND `del`!='1' order by `id` DESC");
	while($row = mysql_fetch_array($res))
		{
		$gpid = $row['id'];
		fetch_gp_details($gpid);		
		echo '<br><br>';
		}
		
?>